package mn.idax.exchange.otc.enums;

import lombok.Getter;

/**
 * @Auther: dison
 * @Date: 2018/7/27 12:55
 * @Description: 响应编码枚举：message 在全局异常捕获中暂未使用，暂只作为注释使用
 */
@Getter
public enum ResponseCodeEnum {

    success(00000, "成功"),
    fail(00001, "失败"),
    USER_EMPTY(100000,"用户不存在，请在请求中传入正确的参数");

    private int code;
    private String message;

    ResponseCodeEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }
}
